Automattic\WooCommerce\GoogleListingsAndAds\Coupon\CouponHelper S

Total Complexity 31
Dependencies 9
Dependents 6
Total lines 303
Lines of code 134
Logical lines of code 61
Comment lines 122
Methods 16
Properties 3

Methods 16

Method Rating Maintainability Complexity Lines of code
get_validation_errors()
S
65 4 8
remove_google_id_by_country()
S
62 3 12
mark_as_synced()
S
58 2 16
get_channel_visibility()
S
60 2 16
is_sync_ready()
S
70 3 6
get_mc_status()
S
60 2 15
mark_as_invalid()
S
67 2 8
update_empty_visibility()
S
67 2 9
get_wc_coupon()
S
69 2 7
is_coupon_synced()
S
72 2 5
is_sync_failed_recently()
S
65 2 9
__construct()
S
74 1 5
mark_as_unsynced()
S
68 1 8
mark_as_pending()
S
76 1 4
get_synced_google_ids()
S
80 1 3
get_sync_status()
S
80 1 3